package com.ruoyi.order.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品退货及退款对象 sy_product_return
 * 
 * @author ruoyi
 * @date 2024-12-19
 */
public class SyProductReturn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单编号 */
    private String orderId;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private BigDecimal orderMach;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 1 待退货 2 退货中 3 已退货 4 拒绝退货 */
    @Excel(name = "1 待退货 2 退货中 3 已退货 4 拒绝退货")
    private Long orderStatus;

    /** 商品内容 */
    @Excel(name = "商品内容")
    private String content;

    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setOrderMach(BigDecimal orderMach) 
    {
        this.orderMach = orderMach;
    }

    public BigDecimal getOrderMach() 
    {
        return orderMach;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setOrderStatus(Long orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public Long getOrderStatus() 
    {
        return orderStatus;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("orderMach", getOrderMach())
            .append("productName", getProductName())
            .append("orderStatus", getOrderStatus())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
